import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './global.less'
import { get, post } from "./utils/request";
import utils from "./utils/index";
import 'vant/lib/index.css';
import { Button, Field, PasswordInput, Toast, Uploader, Tabbar, TabbarItem, NavBar, Image as VanImage, Icon, Tab, Tabs, Search, Cell, CellGroup } from 'vant'

const app = createApp(App)
app.config.globalProperties.$toast = Toast;
app.config.globalProperties.$post = post;
app.config.globalProperties.$get = get;
app.use(Cell).use(CellGroup).use(Search).use(Tab).use(Tabs).use(Icon).use(VanImage).use(NavBar).use(Tabbar).use(TabbarItem).use(Uploader).use(Button).use(Field).use(PasswordInput).use(router).use(store).mount('#app')

